<include file="Public:header" />
<body class="gray-bg">
    <div class="middle-box text-center loginscreen animated fadeInDown">
        <div>
            <div>
               <h1 class="logo-name">Hs</h1>
            </div>
            <h3>欢迎使用【代理商】管理系统</h3>

            <form class="m-t" role="form" method="post" action="__URL__/checkLogin">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户名" required="" name="username">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="密码" required name="password">
                </div>
                <div class="form-group">
                    <input type="text" class="form-control" style="width:70%;float:left;" placeholder="验证码" required="" name="code">
                    <img id="verifyImg" SRC="__URL__/verify/" style="width:55px;height:30px;" onClick="fleshVerify()" border="0" alt="点击刷新验证码" style="cursor:pointer" align="absmiddle">
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>
                </p>
            </form>
        </div>
    </div>
</body>
<!-- 全局js -->
<include file="Public:foot" />
<script type="text/javascript">
function fleshVerify(type){ 
	//重载验证码
	var timenow = new Date().getTime();
	if (type){
		$('#verifyImg').attr("src", '__URL__/verify/adv/1/'+timenow);
	}else{
		$('#verifyImg').attr("src", '__URL__/verify/'+timenow);
	}
}
</script>
</html>
